package com.example.studentportrait.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 通知公告表实体类
 *
 * @author 陈海瑞
 * @since 2025-01-14 09:12:12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("announcement")
public class Announcement {

    private Long id;

    //账号
    private String account;
    //公告内容
    private String content;
    //发布状态（0已发布 1草稿）
    private Integer status;
    //删除标志（0代表存在 1代表删除）
    private Integer isDelete;
    @TableField(fill= FieldFill.INSERT)
    private String createUser;
    @TableField(fill= FieldFill.INSERT)
    private Date createTime;
    @TableField(fill= FieldFill.INSERT_UPDATE)
    private String updateUser;
    @TableField(fill= FieldFill.INSERT_UPDATE)
    private Date updateTime;



}